This page last changed on May 31, 2006 by tcarlson.

Configuration tested with versions 6.1 and 7.0.

<connector name="jmsSonicMQConnector" className="org.mule.providers.jms.JmsConnector">
	<properties>
		<property name="specification" value="1.1"/>
		<property name="connectionFactoryJndiName" value="sonic-cf"/>
		<property name="jndiInitialFactory" value="com.sonicsw.jndi.mfcontext.MFContextFactory"/>
		<property name="jndiProviderUrl" value="tcp://localhost:2506"/>

		<!-- Optional values for the factory -->
		<map name="connectionFactoryProperties">
			<property name="clientID" value="clientIDString"/>
			<property name="connectID" value="connectIDString"/>
			<property name="connectionURLs" value="somURLStrings here"/>
			<property name="defaultUser" value="userString"/>
			<property name="defaultPassword" value="passwordString"/>
			<property name="prefetchCount" value="10"/>
			<property name="prefetchThreshold" value="10"/>
			<property name="faultTolerant" value="true"/>
			<property name="persistentDelivery" value="true"/>
			<property name="loadBalancing" value="true"/>
			<property name="sequential" value="false"/>
		</map>


		<map name="jndiProviderProperties">
			<property name="com.sonicsw.jndi.mfcontext.domain" value="Domain1"/>
			<property name="java.naming.security.principal" value="Administrator"/>
			<property name="java.naming.security.credentials" value="Administrator"/>
			<!-- optional, default is 30sec -->
			<property name="com.sonicsw.jndi.mfcontext.idleTimeout" value="5000"/>
		</map>


		<property name="username" value="Administrator"/>
		<property name="password" value="Administrator"/>

	</properties>


</connector>

Thanks to Knut Lerpold for contributing this configuration.

Document generated by Confluence on Nov 27, 2006 10:27